package com.mlong.admin.modular.unicomjs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kordar.datalist.DataColumn;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@TableName("SuZhou_Unicome_goods_type")
public class GoodsType {
    @DataColumn
    @TableId(type = IdType.ASSIGN_ID)
    private Long id = 0L;
    @DataColumn
    @NotEmpty
    private String name;
}
